package com.ed100.sass.patter.prototype;

public class PrototypeObject implements Cloneable {

	public Object clone() throws CloneNotSupportedException {
		PrototypeObject proto = (PrototypeObject) super.clone();
		return proto;
	}
	
	public static void main(String[] args) throws CloneNotSupportedException {
		PrototypeObject first = new PrototypeObject();
		
		PrototypeObject second = (PrototypeObject) first.clone();
		
		System.out.println(first.equals(second));
		
	}
}
